<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>  
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<%
	String path = request.getContextPath();
	pageContext.setAttribute("rootUrl", path);
%>
<html >
  <head>
  	<jsp:include page="common/assets.jsp"/>
  	<s:head theme="xhtml"/> 
    <sx:head parseContent="true"/> 
  </head>
  <body>
	<jsp:include page="common/navbar.jsp"/>
    <div class="container-fluid">
      <div class="row-fluid">
        <jsp:include page="common/melu.jsp?active=save"/>
        <div class="span9">
          <div class="hero-unit">
				<form class="form-horizontal" action="${rootUrl }/admin/chosen_item_save.htm" method="post">
				  <s:token/>
				  <s:fielderror />
				  <fieldset>
				     <div class="control-group">
				      <label class="control-label" for="prependedInput">精选商品id</label>
				      <div class="controls">
				        <div class="input-prepend">
				          <input name="itemId" class="span10" id="prependedInput" size="35" type="text">
				        </div>
				      </div>
				    </div>
				    <div class="control-group">
				      <label class="control-label" for="select01">精选商品类别</label>
				      <div class="controls">
				        <select id="select01" name="category">
				          <option value="1">屌丝专区</option>
				          <option value="2">高富帅</option>
				          <option value="3">白富美</option>
				        </select>
				      </div>
				    </div>
				    <div class="control-group">
				      <label class="control-label" for="prependedInput">精选商品理由</label>
				      <div class="controls">
				        <div class="input-prepend">
				          <input name="reasons_01" class="span2" id="prependedInput" size="16" type="text">
				          <span class="add-on">@</span><input name="reasons_02" class="span2" size="16" type="text">
				          <span class="add-on">@</span><input name="reasons_03" class="span2" size="16" type="text">
				          <span class="add-on">@</span><input name="reasons_04" class="span2" size="16" type="text">
				        </div>
				      </div>
				    </div>
				    <div class="control-group">
				      <label class="control-label" for="datetimepick">计划推荐时间</label>
				      <div class="controls">
				      	<div class="input-prepend">
				        	<sx:datetimepicker name="showDate" id="datetimepick" cssClass="span5" value="%{new java.util.Date()}" displayFormat="yyyy-MM-dd" /> 
				        </div>
				      </div>
				    </div>
				    <div class="form-actions">
				      <button type="submit" class="btn btn-primary">提交</button>
				    </div>
				  </fieldset>
				</form>
          </div>
        </div>
      </div>
      <jsp:include page="common/footer.jsp"/>
    </div>
  </body>
</html>
